<template>
  <header>
    <router-link class="span" to="/">My App</router-link>
  </header>
</template>

<script>
export default {
  name: "Header"
}
</script>

<style scoped lang="scss">
$main-color: #913e1b;
$header-h: 80px;
$white-color: #fff;
$wrapper_h: calc(100vh - 80px);

header {
  background-color: $main-color;
  height: $header-h;

  > .span {
    float: left;
    height: 40px;
    line-height: 40px;
    color: $white-color;
    margin-top: 20px;
    font-size: 30px;
    position: relative;

    &:hover {
      color: aqua;
    }

    &::after {
      content: 'R';
      display: block;
      height: 30px;
      width: 30px;
      border-radius: 50%;
      border: 1px solid $white-color;
      text-align: center;
      line-height: 30px;
      position: absolute;
      right: -30px;
      top: -10px;
      font-size: 16px;
    }
  }
}

/*header > span::after {
}*/

/*header > span {
  float: left;
  height: 40px;
  line-height: 40px;
  color: $white-color;
  margin-top: 20px;
  font-size: 30px;
}*/
</style>